
cc.Class({
    extends: cc.Component,

    properties: {

    },

    // LIFE-CYCLE CALLBACKS:
    ctor(){
        this._bBattery = false; // 是否是炮台
    },

    onLoad () {
        this.sp = this.node.getComponent(cc.Sprite);
    },

    setBattery(value){
        this._bBattery = value;
    },

    isBattery(){
        return this._bBattery;
    },



    // start () {
    //
    // },

});
